interface MenuItem{
    path:string;
    // roles?:string[];
    title:string;
    children?:MenuItem[]
}

type Menus = MenuItem[]

export const menus:Menus=[
    {path:"/nav/home",title:"首页"},
    {path:"account-management",title:"组织管理",children:[
        {path:"/nav/users",title:"用户管理"},
        {path:"/nav/account",title:"角色管理"},
        {path:"/nav/menu",title:"菜单管理"},
    ]},
    {path:"shop-manangement",title:"靶场管理",children:[
        {path:"/nav/rangeList",title:"靶场列表"},
        {path:"/nav/newRange",title:"新增靶场"},
    ]},
]